<template>
  <a-layout>
    <a-layout-header>Header</a-layout-header>
    <a-layout>
      <a-layout-sider>
        <!-- 侧边菜单 -->
        <Menu />
      </a-layout-sider>
      <a-layout-content>
        <!-- 业务页面的路由视图 -->
        <router-view />
      </a-layout-content>
    </a-layout>
  </a-layout>
</template>

<script>
import { defineComponent } from 'vue';
import Menu from './Menu.vue';

export default defineComponent({
  name: 'HomeView',
  components: {
    Menu,
  },
  methods: {},
});
</script>

<style lang="scss" scoped>
.ant-layout {
  height: 100%;
}
.ant-layout-header {
  background: #fff;
}
</style>
